package com.literaryfamily.literaryfamily.dao;

import com.literaryfamily.literaryfamily.entity.BookBorrowOrder;
import com.literaryfamily.literaryfamily.entity.BookBorrowOrderExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface BookBorrowOrderMapper {
    long countByExample(BookBorrowOrderExample example);

    int deleteByExample(BookBorrowOrderExample example);

    int deleteByPrimaryKey(Long id);

    int insert(BookBorrowOrder row);

    int insertSelective(BookBorrowOrder row);

    List<BookBorrowOrder> selectByExample(BookBorrowOrderExample example);

    BookBorrowOrder selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("row") BookBorrowOrder row, @Param("example") BookBorrowOrderExample example);

    int updateByExample(@Param("row") BookBorrowOrder row, @Param("example") BookBorrowOrderExample example);

    int updateByPrimaryKeySelective(BookBorrowOrder row);

    int updateByPrimaryKey(BookBorrowOrder row);
}